export default[
  {
    path: '/',
    redirect: '/sys'
  },
  {
    path: '/login',
    component: resolve => require(['../components/page/Login.vue'], resolve)
    //component: resolve => require(['../components/common/formDesigner/FancyFormDesigner.vue'], resolve)
  },
  {
    path: '/',
    component: resolve => require(['../components/common/Template.vue'], resolve),
    meta: { title: '首页' },
    children:[
        {
            path: '/sys',
            component: resolve  => require(['../components/page/Portal.vue'], resolve),
            meta: { title: '系统首页' }
        }
    ]
  }
]
